package com.ruoyi.movie.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电影图片对象 movie_photo
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class MoviePhoto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电影图片ID */
    private Integer moviePhotoId;

    /** 电影ID */
    @Excel(name = "电影ID")
    private Integer movieId;

    /** 图片类型 */
    @Excel(name = "图片类型")
    private String type;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String img;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 图片宽度 */
    @Excel(name = "图片宽度")
    private Integer imgWidth;

    /** 图片高度 */
    @Excel(name = "图片高度")
    private Integer imgHeight;

    /** 图片大小 */
    @Excel(name = "图片大小")
    private Integer imgSize;

    /** 删除标志 */
    private String delFlag;

    public Integer getMoviePhotoId()
    {
        return moviePhotoId;
    }

    public void setMoviePhotoId(Integer moviePhotoId)
    {
        this.moviePhotoId = moviePhotoId;
    }

    public Integer getMovieId()
    {
        return movieId;
    }

    public void setMovieId(Integer movieId)
    {
        this.movieId = movieId;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getImg()
    {
        return img;
    }

    public void setImg(String img)
    {
        this.img = img;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public Integer getImgWidth()
    {
        return imgWidth;
    }

    public void setImgWidth(Integer imgWidth)
    {
        this.imgWidth = imgWidth;
    }

    public Integer getImgHeight()
    {
        return imgHeight;
    }

    public void setImgHeight(Integer imgHeight)
    {
        this.imgHeight = imgHeight;
    }

    public Integer getImgSize()
    {
        return imgSize;
    }

    public void setImgSize(Integer imgSize)
    {
        this.imgSize = imgSize;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("moviePhotoId", getMoviePhotoId())
            .append("movieId", getMovieId())
            .append("type", getType())
            .append("img", getImg())
            .append("status", getStatus())
            .append("imgWidth", getImgWidth())
            .append("imgHeight", getImgHeight())
            .append("imgSize", getImgSize())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
